home *** CD-ROM | disk | FTP | other *** search
- //***************************************************************************
- //
- // this file is (c) '94-'96 Niklas Beisert
- //
- // this file is part of the cubic player development kit.
- // you may only use/modify/spread this file under the terms stated
- // in the cubic player development kit accompanying documentation.
- //
- //***************************************************************************
-
- #ifndef __PLINKMAN_H
- #define __PLINKMAN_H
-
- struct linkinfostruct
- {
- const char *name;
- const char *desc;
- unsigned long ver;
- unsigned long size;
- int valid;
- };
-
- struct linkaddressinfostruct
- {
- const char *module;
- const char *sym;
- int symoff;
- const char *source;
- int line;
- int lineoff;
- };
-
- int lnkInit();
- void lnkClose();
- void lnkFree(int h);
- int lnkLink(const char *files);
- void *lnkGetSymbol(const char *name);
- int lnkCountLinks();
- int lnkGetLinkInfo(linkinfostruct &, int first);
- void lnkGetAddressInfo(linkaddressinfostruct &a, void *ptr);
-
- #endif
-